package com.tcd.customer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement //事务开启
@EnableDiscoveryClient
@MapperScan("com.tcd.customer.mapper")
public class CustomerApp8180 {
    public static void main(String[] args) {
        SpringApplication.run(CustomerApp8180.class, args);
    }
}

